<?php

global $errMsg;

$errMsg['0001'] = 'This field is required.';
$errMsg['0002'] = 'Please fix this field.';
$errMsg['0003'] = 'Please enter a valid email address.';
$errMsg['0004'] = 'Please enter a valid URL.';
$errMsg['0005'] = 'Please enter a valid date.';
$errMsg['0006'] = 'Please enter a valid date (ISO).';
$errMsg['0007'] = 'itte geben Sie ein gültiges Datum ein.';
$errMsg['0008'] = 'Please enter a valid number.';
$errMsg['0009'] = 'Bitte geben Sie eine Nummer ein.';
$errMsg['0010'] = 'Please enter digits only';
$errMsg['0011'] = 'Please enter Programme No.';
$errMsg['0012'] = 'Please enter Programme Effective Date';


$errMsg['0020'] = 'Invalid format';
$errMsg['0021'] = 'Alphanumeric. should begin with character';
$errMsg['0022'] = 'Alphanumeric and punctuation only';
$errMsg['0023'] = 'Positive integer only';
$errMsg['0024'] = 'It should be Alphanumeric';


$errMsg['0049'] = 'Please enter a valid date time!';
$errMsg['0048'] = 'Over max length!';
$errMsg['0047'] = 'In time over max length(4)!';
$errMsg['0046'] = 'Out time over max length(5)!';
$errMsg['0045'] = 'Out time must larger than In time';
$errMsg['0044'] = 'At least Name (Chinese) or Name (English) must be entered.';
$errMsg['0043'] = 'At least Venue Name (Chinese) or Venue Name (English) must be entered.';
$errMsg['0042'] = 'At least Award Title (Chinese) or Award Title (English) must be entered.';
$errMsg['0041'] = 'At least Title (Chinese) or Title (English) must be entered.';
$errMsg['0040'] = 'At least Product Name (Chinese) or Product Name (English) must be entered.';
$errMsg['0039'] = 'At least Dish Name (Chinese) or Dish Name (English) must be entered.';
$errMsg['0038'] = 'At least Song Title (Chinese) or Song Title (English) must be entered.';
$errMsg['0037'] = 'At least Programme Title (Chinese) or Programme Title (English) must be entered.';
$errMsg['0036'] = 'At least Episode Title (Chinese) or Episode Title (English) must be entered.';
$errMsg['0035'] = 'At least Chapter Title (Chinese) or Chapter Title (English) must be entered.';
$errMsg['0034'] = 'On Air Date/Time must earlier than Publish Date/Time';
$errMsg['0033'] = 'Publish Date/Time must earlier than Expiry Date/Time';
$errMsg['0032'] = 'Online Date Time must earlier than Offline Date Time ';

$errMsg['0050'] = 'First Episode On Air Date Time must earlier than Last Episode On Air Date Time';
$errMsg['0051'] = 'First Episode On Air Date Time must equal to First Air Date/Time';
$errMsg['0052'] = 'First Episode On Air Date Time must later than Production Period From Time';
$errMsg['0053'] = 'First Air Date/Time must earlier than Publish Date/Time';
$errMsg['0054'] = 'Duplicate effective date is selected. Please choose another date';
$errMsg['0055'] = 'Ignore non JPEG files. Please submit correct JPEG file again';
$errMsg['0056'] = 'Start time must earlier than end time';
$errMsg['0057'] = 'On Air Episode Number doesn’t exist!';
$errMsg['0058'] = 'Chapter total duration is error';

$errMsg['0100'] = 'Path already exists!';
$errMsg['0101'] = 'The Programme doesn’t exist!';
$errMsg['0102'] = 'The Programme or Episode already exists!';
$errMsg['0103'] = 'The Programme or Episode doesn’t exist!';
$errMsg['0104'] = 'The Programme no & Company code already exist!';
$errMsg['0105'] = 'This record has been changed by another user. If you insist on updating it, it will be overridden by your change. Otherwise, you can click Reset button to get the latest value of the record.';
$errMsg['0106'] = 'The record has been deleted by another user, you can\'t proof-read it.';
$errMsg['0107'] = 'The record has been published by another user, you can\'t delete it.';
$errMsg['0108'] = 'The record bas been deleted by another user, you can\'t edit it';
$errMsg['0109'] = 'Tag already exists!';
$errMsg['0110'] = 'System error encountered, please try again. If the problem still exists, please contact system administrator.';

$errMsg['0201'] = 'Please publish the programme before publishing this episode!';
$errMsg['0202'] = 'Some video is processing, you can\'t proof-read this record now, please try later ';
$errMsg['0203'] = 'Execute MIS recover failure.';
$errMsg['0204'] = 'Master name already exist.';
$errMsg['0205'] = 'Online Date Time must be earlier than Offline Date Time.';
$errMsg['0206'] = 'First Air Date/Time should equal to First Episode On Air Date Time.';
$errMsg['0207'] = 'No need proofread again because nothing is changed.'; 
$errMsg['0208'] = 'Publish this programme failure cause parent programme not be published.'; 

$errMsg['0300'] = 'Since the data is sync with MIS, the keys fields cannot be changed.';
$errMsg['0400'] = 'Use for premium can\'t be empty.';
$errMsg['0401'] = 'At least one premium item must be selected.';
$errMsg['0402'] = 'Online Date Time or Offline Date Time should not be null.';
$errMsg['0403'] = 'Online Date Time & Offline Date Time error.';
?>
